package com.property.manage.model.resource;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@TableName("t_building")
public class Building {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("小区id")
    private Integer villageId;
    @ApiModelProperty("楼栋")
    private Integer building;
    @ApiModelProperty("1空置 2自住 3出租")
    private Integer status;
    @ApiModelProperty("单元")
    private Integer unit;

    @ApiModelProperty("房号")
    private String roomNumber;

    @ApiModelProperty("面积")
    private BigDecimal square;
    //折扣
    private String discount;

    private String type;

}
